<script setup>
import { ref, defineProps, defineExpose } from 'vue';
defineProps(['name']);
const visible = ref(false);
const show = async () => {
  visible.value = true;
}
defineExpose({ show });
</script>

<template>
  <el-dialog v-if="visible" title="选择人员" v-model="visible" width="1000px" :close-on-click-modal="false" :append-to-body="true">
    {{ name }}
    <div>===================</div>
    <div>===================</div>
    <div>===================</div>
    <div>===================</div>
    <div>===================</div>
  </el-dialog>
</template>
